package cn.bdqn.model.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class DangerinfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DangerinfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andDangerProspectNumberIsNull() {
            addCriterion("danger_prospect_number is null");
            return (Criteria) this;
        }

        public Criteria andDangerProspectNumberIsNotNull() {
            addCriterion("danger_prospect_number is not null");
            return (Criteria) this;
        }

        public Criteria andDangerProspectNumberEqualTo(Integer value) {
            addCriterion("danger_prospect_number =", value, "dangerProspectNumber");
            return (Criteria) this;
        }

        public Criteria andDangerProspectNumberNotEqualTo(Integer value) {
            addCriterion("danger_prospect_number <>", value, "dangerProspectNumber");
            return (Criteria) this;
        }

        public Criteria andDangerProspectNumberGreaterThan(Integer value) {
            addCriterion("danger_prospect_number >", value, "dangerProspectNumber");
            return (Criteria) this;
        }

        public Criteria andDangerProspectNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("danger_prospect_number >=", value, "dangerProspectNumber");
            return (Criteria) this;
        }

        public Criteria andDangerProspectNumberLessThan(Integer value) {
            addCriterion("danger_prospect_number <", value, "dangerProspectNumber");
            return (Criteria) this;
        }

        public Criteria andDangerProspectNumberLessThanOrEqualTo(Integer value) {
            addCriterion("danger_prospect_number <=", value, "dangerProspectNumber");
            return (Criteria) this;
        }

        public Criteria andDangerProspectNumberIn(List<Integer> values) {
            addCriterion("danger_prospect_number in", values, "dangerProspectNumber");
            return (Criteria) this;
        }

        public Criteria andDangerProspectNumberNotIn(List<Integer> values) {
            addCriterion("danger_prospect_number not in", values, "dangerProspectNumber");
            return (Criteria) this;
        }

        public Criteria andDangerProspectNumberBetween(Integer value1, Integer value2) {
            addCriterion("danger_prospect_number between", value1, value2, "dangerProspectNumber");
            return (Criteria) this;
        }

        public Criteria andDangerProspectNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("danger_prospect_number not between", value1, value2, "dangerProspectNumber");
            return (Criteria) this;
        }

        public Criteria andTaskingJobNumberIsNull() {
            addCriterion("tasking_job_number is null");
            return (Criteria) this;
        }

        public Criteria andTaskingJobNumberIsNotNull() {
            addCriterion("tasking_job_number is not null");
            return (Criteria) this;
        }

        public Criteria andTaskingJobNumberEqualTo(String value) {
            addCriterion("tasking_job_number =", value, "taskingJobNumber");
            return (Criteria) this;
        }

        public Criteria andTaskingJobNumberNotEqualTo(String value) {
            addCriterion("tasking_job_number <>", value, "taskingJobNumber");
            return (Criteria) this;
        }

        public Criteria andTaskingJobNumberGreaterThan(String value) {
            addCriterion("tasking_job_number >", value, "taskingJobNumber");
            return (Criteria) this;
        }

        public Criteria andTaskingJobNumberGreaterThanOrEqualTo(String value) {
            addCriterion("tasking_job_number >=", value, "taskingJobNumber");
            return (Criteria) this;
        }

        public Criteria andTaskingJobNumberLessThan(String value) {
            addCriterion("tasking_job_number <", value, "taskingJobNumber");
            return (Criteria) this;
        }

        public Criteria andTaskingJobNumberLessThanOrEqualTo(String value) {
            addCriterion("tasking_job_number <=", value, "taskingJobNumber");
            return (Criteria) this;
        }

        public Criteria andTaskingJobNumberLike(String value) {
            addCriterion("tasking_job_number like", value, "taskingJobNumber");
            return (Criteria) this;
        }

        public Criteria andTaskingJobNumberNotLike(String value) {
            addCriterion("tasking_job_number not like", value, "taskingJobNumber");
            return (Criteria) this;
        }

        public Criteria andTaskingJobNumberIn(List<String> values) {
            addCriterion("tasking_job_number in", values, "taskingJobNumber");
            return (Criteria) this;
        }

        public Criteria andTaskingJobNumberNotIn(List<String> values) {
            addCriterion("tasking_job_number not in", values, "taskingJobNumber");
            return (Criteria) this;
        }

        public Criteria andTaskingJobNumberBetween(String value1, String value2) {
            addCriterion("tasking_job_number between", value1, value2, "taskingJobNumber");
            return (Criteria) this;
        }

        public Criteria andTaskingJobNumberNotBetween(String value1, String value2) {
            addCriterion("tasking_job_number not between", value1, value2, "taskingJobNumber");
            return (Criteria) this;
        }

        public Criteria andProspectTimeIsNull() {
            addCriterion("prospect_time is null");
            return (Criteria) this;
        }

        public Criteria andProspectTimeIsNotNull() {
            addCriterion("prospect_time is not null");
            return (Criteria) this;
        }

        public Criteria andProspectTimeEqualTo(Date value) {
            addCriterionForJDBCDate("prospect_time =", value, "prospectTime");
            return (Criteria) this;
        }

        public Criteria andProspectTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("prospect_time <>", value, "prospectTime");
            return (Criteria) this;
        }

        public Criteria andProspectTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("prospect_time >", value, "prospectTime");
            return (Criteria) this;
        }

        public Criteria andProspectTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("prospect_time >=", value, "prospectTime");
            return (Criteria) this;
        }

        public Criteria andProspectTimeLessThan(Date value) {
            addCriterionForJDBCDate("prospect_time <", value, "prospectTime");
            return (Criteria) this;
        }

        public Criteria andProspectTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("prospect_time <=", value, "prospectTime");
            return (Criteria) this;
        }

        public Criteria andProspectTimeIn(List<Date> values) {
            addCriterionForJDBCDate("prospect_time in", values, "prospectTime");
            return (Criteria) this;
        }

        public Criteria andProspectTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("prospect_time not in", values, "prospectTime");
            return (Criteria) this;
        }

        public Criteria andProspectTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("prospect_time between", value1, value2, "prospectTime");
            return (Criteria) this;
        }

        public Criteria andProspectTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("prospect_time not between", value1, value2, "prospectTime");
            return (Criteria) this;
        }

        public Criteria andProspectAddressIsNull() {
            addCriterion("prospect_address is null");
            return (Criteria) this;
        }

        public Criteria andProspectAddressIsNotNull() {
            addCriterion("prospect_address is not null");
            return (Criteria) this;
        }

        public Criteria andProspectAddressEqualTo(String value) {
            addCriterion("prospect_address =", value, "prospectAddress");
            return (Criteria) this;
        }

        public Criteria andProspectAddressNotEqualTo(String value) {
            addCriterion("prospect_address <>", value, "prospectAddress");
            return (Criteria) this;
        }

        public Criteria andProspectAddressGreaterThan(String value) {
            addCriterion("prospect_address >", value, "prospectAddress");
            return (Criteria) this;
        }

        public Criteria andProspectAddressGreaterThanOrEqualTo(String value) {
            addCriterion("prospect_address >=", value, "prospectAddress");
            return (Criteria) this;
        }

        public Criteria andProspectAddressLessThan(String value) {
            addCriterion("prospect_address <", value, "prospectAddress");
            return (Criteria) this;
        }

        public Criteria andProspectAddressLessThanOrEqualTo(String value) {
            addCriterion("prospect_address <=", value, "prospectAddress");
            return (Criteria) this;
        }

        public Criteria andProspectAddressLike(String value) {
            addCriterion("prospect_address like", value, "prospectAddress");
            return (Criteria) this;
        }

        public Criteria andProspectAddressNotLike(String value) {
            addCriterion("prospect_address not like", value, "prospectAddress");
            return (Criteria) this;
        }

        public Criteria andProspectAddressIn(List<String> values) {
            addCriterion("prospect_address in", values, "prospectAddress");
            return (Criteria) this;
        }

        public Criteria andProspectAddressNotIn(List<String> values) {
            addCriterion("prospect_address not in", values, "prospectAddress");
            return (Criteria) this;
        }

        public Criteria andProspectAddressBetween(String value1, String value2) {
            addCriterion("prospect_address between", value1, value2, "prospectAddress");
            return (Criteria) this;
        }

        public Criteria andProspectAddressNotBetween(String value1, String value2) {
            addCriterion("prospect_address not between", value1, value2, "prospectAddress");
            return (Criteria) this;
        }

        public Criteria andDisposeDepartmentIsNull() {
            addCriterion("dispose_department is null");
            return (Criteria) this;
        }

        public Criteria andDisposeDepartmentIsNotNull() {
            addCriterion("dispose_department is not null");
            return (Criteria) this;
        }

        public Criteria andDisposeDepartmentEqualTo(String value) {
            addCriterion("dispose_department =", value, "disposeDepartment");
            return (Criteria) this;
        }

        public Criteria andDisposeDepartmentNotEqualTo(String value) {
            addCriterion("dispose_department <>", value, "disposeDepartment");
            return (Criteria) this;
        }

        public Criteria andDisposeDepartmentGreaterThan(String value) {
            addCriterion("dispose_department >", value, "disposeDepartment");
            return (Criteria) this;
        }

        public Criteria andDisposeDepartmentGreaterThanOrEqualTo(String value) {
            addCriterion("dispose_department >=", value, "disposeDepartment");
            return (Criteria) this;
        }

        public Criteria andDisposeDepartmentLessThan(String value) {
            addCriterion("dispose_department <", value, "disposeDepartment");
            return (Criteria) this;
        }

        public Criteria andDisposeDepartmentLessThanOrEqualTo(String value) {
            addCriterion("dispose_department <=", value, "disposeDepartment");
            return (Criteria) this;
        }

        public Criteria andDisposeDepartmentLike(String value) {
            addCriterion("dispose_department like", value, "disposeDepartment");
            return (Criteria) this;
        }

        public Criteria andDisposeDepartmentNotLike(String value) {
            addCriterion("dispose_department not like", value, "disposeDepartment");
            return (Criteria) this;
        }

        public Criteria andDisposeDepartmentIn(List<String> values) {
            addCriterion("dispose_department in", values, "disposeDepartment");
            return (Criteria) this;
        }

        public Criteria andDisposeDepartmentNotIn(List<String> values) {
            addCriterion("dispose_department not in", values, "disposeDepartment");
            return (Criteria) this;
        }

        public Criteria andDisposeDepartmentBetween(String value1, String value2) {
            addCriterion("dispose_department between", value1, value2, "disposeDepartment");
            return (Criteria) this;
        }

        public Criteria andDisposeDepartmentNotBetween(String value1, String value2) {
            addCriterion("dispose_department not between", value1, value2, "disposeDepartment");
            return (Criteria) this;
        }

        public Criteria andDisposeTypeIsNull() {
            addCriterion("dispose_type is null");
            return (Criteria) this;
        }

        public Criteria andDisposeTypeIsNotNull() {
            addCriterion("dispose_type is not null");
            return (Criteria) this;
        }

        public Criteria andDisposeTypeEqualTo(Integer value) {
            addCriterion("dispose_type =", value, "disposeType");
            return (Criteria) this;
        }

        public Criteria andDisposeTypeNotEqualTo(Integer value) {
            addCriterion("dispose_type <>", value, "disposeType");
            return (Criteria) this;
        }

        public Criteria andDisposeTypeGreaterThan(Integer value) {
            addCriterion("dispose_type >", value, "disposeType");
            return (Criteria) this;
        }

        public Criteria andDisposeTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("dispose_type >=", value, "disposeType");
            return (Criteria) this;
        }

        public Criteria andDisposeTypeLessThan(Integer value) {
            addCriterion("dispose_type <", value, "disposeType");
            return (Criteria) this;
        }

        public Criteria andDisposeTypeLessThanOrEqualTo(Integer value) {
            addCriterion("dispose_type <=", value, "disposeType");
            return (Criteria) this;
        }

        public Criteria andDisposeTypeIn(List<Integer> values) {
            addCriterion("dispose_type in", values, "disposeType");
            return (Criteria) this;
        }

        public Criteria andDisposeTypeNotIn(List<Integer> values) {
            addCriterion("dispose_type not in", values, "disposeType");
            return (Criteria) this;
        }

        public Criteria andDisposeTypeBetween(Integer value1, Integer value2) {
            addCriterion("dispose_type between", value1, value2, "disposeType");
            return (Criteria) this;
        }

        public Criteria andDisposeTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("dispose_type not between", value1, value2, "disposeType");
            return (Criteria) this;
        }

        public Criteria andProspectDisposeIdeaIsNull() {
            addCriterion("prospect_dispose_idea is null");
            return (Criteria) this;
        }

        public Criteria andProspectDisposeIdeaIsNotNull() {
            addCriterion("prospect_dispose_idea is not null");
            return (Criteria) this;
        }

        public Criteria andProspectDisposeIdeaEqualTo(String value) {
            addCriterion("prospect_dispose_idea =", value, "prospectDisposeIdea");
            return (Criteria) this;
        }

        public Criteria andProspectDisposeIdeaNotEqualTo(String value) {
            addCriterion("prospect_dispose_idea <>", value, "prospectDisposeIdea");
            return (Criteria) this;
        }

        public Criteria andProspectDisposeIdeaGreaterThan(String value) {
            addCriterion("prospect_dispose_idea >", value, "prospectDisposeIdea");
            return (Criteria) this;
        }

        public Criteria andProspectDisposeIdeaGreaterThanOrEqualTo(String value) {
            addCriterion("prospect_dispose_idea >=", value, "prospectDisposeIdea");
            return (Criteria) this;
        }

        public Criteria andProspectDisposeIdeaLessThan(String value) {
            addCriterion("prospect_dispose_idea <", value, "prospectDisposeIdea");
            return (Criteria) this;
        }

        public Criteria andProspectDisposeIdeaLessThanOrEqualTo(String value) {
            addCriterion("prospect_dispose_idea <=", value, "prospectDisposeIdea");
            return (Criteria) this;
        }

        public Criteria andProspectDisposeIdeaLike(String value) {
            addCriterion("prospect_dispose_idea like", value, "prospectDisposeIdea");
            return (Criteria) this;
        }

        public Criteria andProspectDisposeIdeaNotLike(String value) {
            addCriterion("prospect_dispose_idea not like", value, "prospectDisposeIdea");
            return (Criteria) this;
        }

        public Criteria andProspectDisposeIdeaIn(List<String> values) {
            addCriterion("prospect_dispose_idea in", values, "prospectDisposeIdea");
            return (Criteria) this;
        }

        public Criteria andProspectDisposeIdeaNotIn(List<String> values) {
            addCriterion("prospect_dispose_idea not in", values, "prospectDisposeIdea");
            return (Criteria) this;
        }

        public Criteria andProspectDisposeIdeaBetween(String value1, String value2) {
            addCriterion("prospect_dispose_idea between", value1, value2, "prospectDisposeIdea");
            return (Criteria) this;
        }

        public Criteria andProspectDisposeIdeaNotBetween(String value1, String value2) {
            addCriterion("prospect_dispose_idea not between", value1, value2, "prospectDisposeIdea");
            return (Criteria) this;
        }

        public Criteria andLossInfoIsNull() {
            addCriterion("loss_info is null");
            return (Criteria) this;
        }

        public Criteria andLossInfoIsNotNull() {
            addCriterion("loss_info is not null");
            return (Criteria) this;
        }

        public Criteria andLossInfoEqualTo(String value) {
            addCriterion("loss_info =", value, "lossInfo");
            return (Criteria) this;
        }

        public Criteria andLossInfoNotEqualTo(String value) {
            addCriterion("loss_info <>", value, "lossInfo");
            return (Criteria) this;
        }

        public Criteria andLossInfoGreaterThan(String value) {
            addCriterion("loss_info >", value, "lossInfo");
            return (Criteria) this;
        }

        public Criteria andLossInfoGreaterThanOrEqualTo(String value) {
            addCriterion("loss_info >=", value, "lossInfo");
            return (Criteria) this;
        }

        public Criteria andLossInfoLessThan(String value) {
            addCriterion("loss_info <", value, "lossInfo");
            return (Criteria) this;
        }

        public Criteria andLossInfoLessThanOrEqualTo(String value) {
            addCriterion("loss_info <=", value, "lossInfo");
            return (Criteria) this;
        }

        public Criteria andLossInfoLike(String value) {
            addCriterion("loss_info like", value, "lossInfo");
            return (Criteria) this;
        }

        public Criteria andLossInfoNotLike(String value) {
            addCriterion("loss_info not like", value, "lossInfo");
            return (Criteria) this;
        }

        public Criteria andLossInfoIn(List<String> values) {
            addCriterion("loss_info in", values, "lossInfo");
            return (Criteria) this;
        }

        public Criteria andLossInfoNotIn(List<String> values) {
            addCriterion("loss_info not in", values, "lossInfo");
            return (Criteria) this;
        }

        public Criteria andLossInfoBetween(String value1, String value2) {
            addCriterion("loss_info between", value1, value2, "lossInfo");
            return (Criteria) this;
        }

        public Criteria andLossInfoNotBetween(String value1, String value2) {
            addCriterion("loss_info not between", value1, value2, "lossInfo");
            return (Criteria) this;
        }

        public Criteria andDutyIsNull() {
            addCriterion("duty is null");
            return (Criteria) this;
        }

        public Criteria andDutyIsNotNull() {
            addCriterion("duty is not null");
            return (Criteria) this;
        }

        public Criteria andDutyEqualTo(Integer value) {
            addCriterion("duty =", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyNotEqualTo(Integer value) {
            addCriterion("duty <>", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyGreaterThan(Integer value) {
            addCriterion("duty >", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyGreaterThanOrEqualTo(Integer value) {
            addCriterion("duty >=", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyLessThan(Integer value) {
            addCriterion("duty <", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyLessThanOrEqualTo(Integer value) {
            addCriterion("duty <=", value, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyIn(List<Integer> values) {
            addCriterion("duty in", values, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyNotIn(List<Integer> values) {
            addCriterion("duty not in", values, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyBetween(Integer value1, Integer value2) {
            addCriterion("duty between", value1, value2, "duty");
            return (Criteria) this;
        }

        public Criteria andDutyNotBetween(Integer value1, Integer value2) {
            addCriterion("duty not between", value1, value2, "duty");
            return (Criteria) this;
        }

        public Criteria andMobIsNull() {
            addCriterion("mob is null");
            return (Criteria) this;
        }

        public Criteria andMobIsNotNull() {
            addCriterion("mob is not null");
            return (Criteria) this;
        }

        public Criteria andMobEqualTo(String value) {
            addCriterion("mob =", value, "mob");
            return (Criteria) this;
        }

        public Criteria andMobNotEqualTo(String value) {
            addCriterion("mob <>", value, "mob");
            return (Criteria) this;
        }

        public Criteria andMobGreaterThan(String value) {
            addCriterion("mob >", value, "mob");
            return (Criteria) this;
        }

        public Criteria andMobGreaterThanOrEqualTo(String value) {
            addCriterion("mob >=", value, "mob");
            return (Criteria) this;
        }

        public Criteria andMobLessThan(String value) {
            addCriterion("mob <", value, "mob");
            return (Criteria) this;
        }

        public Criteria andMobLessThanOrEqualTo(String value) {
            addCriterion("mob <=", value, "mob");
            return (Criteria) this;
        }

        public Criteria andMobLike(String value) {
            addCriterion("mob like", value, "mob");
            return (Criteria) this;
        }

        public Criteria andMobNotLike(String value) {
            addCriterion("mob not like", value, "mob");
            return (Criteria) this;
        }

        public Criteria andMobIn(List<String> values) {
            addCriterion("mob in", values, "mob");
            return (Criteria) this;
        }

        public Criteria andMobNotIn(List<String> values) {
            addCriterion("mob not in", values, "mob");
            return (Criteria) this;
        }

        public Criteria andMobBetween(String value1, String value2) {
            addCriterion("mob between", value1, value2, "mob");
            return (Criteria) this;
        }

        public Criteria andMobNotBetween(String value1, String value2) {
            addCriterion("mob not between", value1, value2, "mob");
            return (Criteria) this;
        }

        public Criteria andMaintenancePointIsNull() {
            addCriterion("maintenance_point is null");
            return (Criteria) this;
        }

        public Criteria andMaintenancePointIsNotNull() {
            addCriterion("maintenance_point is not null");
            return (Criteria) this;
        }

        public Criteria andMaintenancePointEqualTo(String value) {
            addCriterion("maintenance_point =", value, "maintenancePoint");
            return (Criteria) this;
        }

        public Criteria andMaintenancePointNotEqualTo(String value) {
            addCriterion("maintenance_point <>", value, "maintenancePoint");
            return (Criteria) this;
        }

        public Criteria andMaintenancePointGreaterThan(String value) {
            addCriterion("maintenance_point >", value, "maintenancePoint");
            return (Criteria) this;
        }

        public Criteria andMaintenancePointGreaterThanOrEqualTo(String value) {
            addCriterion("maintenance_point >=", value, "maintenancePoint");
            return (Criteria) this;
        }

        public Criteria andMaintenancePointLessThan(String value) {
            addCriterion("maintenance_point <", value, "maintenancePoint");
            return (Criteria) this;
        }

        public Criteria andMaintenancePointLessThanOrEqualTo(String value) {
            addCriterion("maintenance_point <=", value, "maintenancePoint");
            return (Criteria) this;
        }

        public Criteria andMaintenancePointLike(String value) {
            addCriterion("maintenance_point like", value, "maintenancePoint");
            return (Criteria) this;
        }

        public Criteria andMaintenancePointNotLike(String value) {
            addCriterion("maintenance_point not like", value, "maintenancePoint");
            return (Criteria) this;
        }

        public Criteria andMaintenancePointIn(List<String> values) {
            addCriterion("maintenance_point in", values, "maintenancePoint");
            return (Criteria) this;
        }

        public Criteria andMaintenancePointNotIn(List<String> values) {
            addCriterion("maintenance_point not in", values, "maintenancePoint");
            return (Criteria) this;
        }

        public Criteria andMaintenancePointBetween(String value1, String value2) {
            addCriterion("maintenance_point between", value1, value2, "maintenancePoint");
            return (Criteria) this;
        }

        public Criteria andMaintenancePointNotBetween(String value1, String value2) {
            addCriterion("maintenance_point not between", value1, value2, "maintenancePoint");
            return (Criteria) this;
        }

        public Criteria andProspectStateIsNull() {
            addCriterion("prospect_state is null");
            return (Criteria) this;
        }

        public Criteria andProspectStateIsNotNull() {
            addCriterion("prospect_state is not null");
            return (Criteria) this;
        }

        public Criteria andProspectStateEqualTo(Integer value) {
            addCriterion("prospect_state =", value, "prospectState");
            return (Criteria) this;
        }

        public Criteria andProspectStateNotEqualTo(Integer value) {
            addCriterion("prospect_state <>", value, "prospectState");
            return (Criteria) this;
        }

        public Criteria andProspectStateGreaterThan(Integer value) {
            addCriterion("prospect_state >", value, "prospectState");
            return (Criteria) this;
        }

        public Criteria andProspectStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("prospect_state >=", value, "prospectState");
            return (Criteria) this;
        }

        public Criteria andProspectStateLessThan(Integer value) {
            addCriterion("prospect_state <", value, "prospectState");
            return (Criteria) this;
        }

        public Criteria andProspectStateLessThanOrEqualTo(Integer value) {
            addCriterion("prospect_state <=", value, "prospectState");
            return (Criteria) this;
        }

        public Criteria andProspectStateIn(List<Integer> values) {
            addCriterion("prospect_state in", values, "prospectState");
            return (Criteria) this;
        }

        public Criteria andProspectStateNotIn(List<Integer> values) {
            addCriterion("prospect_state not in", values, "prospectState");
            return (Criteria) this;
        }

        public Criteria andProspectStateBetween(Integer value1, Integer value2) {
            addCriterion("prospect_state between", value1, value2, "prospectState");
            return (Criteria) this;
        }

        public Criteria andProspectStateNotBetween(Integer value1, Integer value2) {
            addCriterion("prospect_state not between", value1, value2, "prospectState");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceIsNull() {
            addCriterion("driving_licence is null");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceIsNotNull() {
            addCriterion("driving_licence is not null");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceEqualTo(String value) {
            addCriterion("driving_licence =", value, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceNotEqualTo(String value) {
            addCriterion("driving_licence <>", value, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceGreaterThan(String value) {
            addCriterion("driving_licence >", value, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceGreaterThanOrEqualTo(String value) {
            addCriterion("driving_licence >=", value, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceLessThan(String value) {
            addCriterion("driving_licence <", value, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceLessThanOrEqualTo(String value) {
            addCriterion("driving_licence <=", value, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceLike(String value) {
            addCriterion("driving_licence like", value, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceNotLike(String value) {
            addCriterion("driving_licence not like", value, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceIn(List<String> values) {
            addCriterion("driving_licence in", values, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceNotIn(List<String> values) {
            addCriterion("driving_licence not in", values, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceBetween(String value1, String value2) {
            addCriterion("driving_licence between", value1, value2, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenceNotBetween(String value1, String value2) {
            addCriterion("driving_licence not between", value1, value2, "drivingLicence");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenseIsNull() {
            addCriterion("driving_license is null");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenseIsNotNull() {
            addCriterion("driving_license is not null");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenseEqualTo(String value) {
            addCriterion("driving_license =", value, "drivingLicense");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenseNotEqualTo(String value) {
            addCriterion("driving_license <>", value, "drivingLicense");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenseGreaterThan(String value) {
            addCriterion("driving_license >", value, "drivingLicense");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenseGreaterThanOrEqualTo(String value) {
            addCriterion("driving_license >=", value, "drivingLicense");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenseLessThan(String value) {
            addCriterion("driving_license <", value, "drivingLicense");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenseLessThanOrEqualTo(String value) {
            addCriterion("driving_license <=", value, "drivingLicense");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenseLike(String value) {
            addCriterion("driving_license like", value, "drivingLicense");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenseNotLike(String value) {
            addCriterion("driving_license not like", value, "drivingLicense");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenseIn(List<String> values) {
            addCriterion("driving_license in", values, "drivingLicense");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenseNotIn(List<String> values) {
            addCriterion("driving_license not in", values, "drivingLicense");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenseBetween(String value1, String value2) {
            addCriterion("driving_license between", value1, value2, "drivingLicense");
            return (Criteria) this;
        }

        public Criteria andDrivingLicenseNotBetween(String value1, String value2) {
            addCriterion("driving_license not between", value1, value2, "drivingLicense");
            return (Criteria) this;
        }

        public Criteria andCarframeNumberIsNull() {
            addCriterion("carframe_number is null");
            return (Criteria) this;
        }

        public Criteria andCarframeNumberIsNotNull() {
            addCriterion("carframe_number is not null");
            return (Criteria) this;
        }

        public Criteria andCarframeNumberEqualTo(String value) {
            addCriterion("carframe_number =", value, "carframeNumber");
            return (Criteria) this;
        }

        public Criteria andCarframeNumberNotEqualTo(String value) {
            addCriterion("carframe_number <>", value, "carframeNumber");
            return (Criteria) this;
        }

        public Criteria andCarframeNumberGreaterThan(String value) {
            addCriterion("carframe_number >", value, "carframeNumber");
            return (Criteria) this;
        }

        public Criteria andCarframeNumberGreaterThanOrEqualTo(String value) {
            addCriterion("carframe_number >=", value, "carframeNumber");
            return (Criteria) this;
        }

        public Criteria andCarframeNumberLessThan(String value) {
            addCriterion("carframe_number <", value, "carframeNumber");
            return (Criteria) this;
        }

        public Criteria andCarframeNumberLessThanOrEqualTo(String value) {
            addCriterion("carframe_number <=", value, "carframeNumber");
            return (Criteria) this;
        }

        public Criteria andCarframeNumberLike(String value) {
            addCriterion("carframe_number like", value, "carframeNumber");
            return (Criteria) this;
        }

        public Criteria andCarframeNumberNotLike(String value) {
            addCriterion("carframe_number not like", value, "carframeNumber");
            return (Criteria) this;
        }

        public Criteria andCarframeNumberIn(List<String> values) {
            addCriterion("carframe_number in", values, "carframeNumber");
            return (Criteria) this;
        }

        public Criteria andCarframeNumberNotIn(List<String> values) {
            addCriterion("carframe_number not in", values, "carframeNumber");
            return (Criteria) this;
        }

        public Criteria andCarframeNumberBetween(String value1, String value2) {
            addCriterion("carframe_number between", value1, value2, "carframeNumber");
            return (Criteria) this;
        }

        public Criteria andCarframeNumberNotBetween(String value1, String value2) {
            addCriterion("carframe_number not between", value1, value2, "carframeNumber");
            return (Criteria) this;
        }

        public Criteria andEngineNumberIsNull() {
            addCriterion("engine_number is null");
            return (Criteria) this;
        }

        public Criteria andEngineNumberIsNotNull() {
            addCriterion("engine_number is not null");
            return (Criteria) this;
        }

        public Criteria andEngineNumberEqualTo(String value) {
            addCriterion("engine_number =", value, "engineNumber");
            return (Criteria) this;
        }

        public Criteria andEngineNumberNotEqualTo(String value) {
            addCriterion("engine_number <>", value, "engineNumber");
            return (Criteria) this;
        }

        public Criteria andEngineNumberGreaterThan(String value) {
            addCriterion("engine_number >", value, "engineNumber");
            return (Criteria) this;
        }

        public Criteria andEngineNumberGreaterThanOrEqualTo(String value) {
            addCriterion("engine_number >=", value, "engineNumber");
            return (Criteria) this;
        }

        public Criteria andEngineNumberLessThan(String value) {
            addCriterion("engine_number <", value, "engineNumber");
            return (Criteria) this;
        }

        public Criteria andEngineNumberLessThanOrEqualTo(String value) {
            addCriterion("engine_number <=", value, "engineNumber");
            return (Criteria) this;
        }

        public Criteria andEngineNumberLike(String value) {
            addCriterion("engine_number like", value, "engineNumber");
            return (Criteria) this;
        }

        public Criteria andEngineNumberNotLike(String value) {
            addCriterion("engine_number not like", value, "engineNumber");
            return (Criteria) this;
        }

        public Criteria andEngineNumberIn(List<String> values) {
            addCriterion("engine_number in", values, "engineNumber");
            return (Criteria) this;
        }

        public Criteria andEngineNumberNotIn(List<String> values) {
            addCriterion("engine_number not in", values, "engineNumber");
            return (Criteria) this;
        }

        public Criteria andEngineNumberBetween(String value1, String value2) {
            addCriterion("engine_number between", value1, value2, "engineNumber");
            return (Criteria) this;
        }

        public Criteria andEngineNumberNotBetween(String value1, String value2) {
            addCriterion("engine_number not between", value1, value2, "engineNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberIsNull() {
            addCriterion("reported_number is null");
            return (Criteria) this;
        }

        public Criteria andReportedNumberIsNotNull() {
            addCriterion("reported_number is not null");
            return (Criteria) this;
        }

        public Criteria andReportedNumberEqualTo(String value) {
            addCriterion("reported_number =", value, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberNotEqualTo(String value) {
            addCriterion("reported_number <>", value, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberGreaterThan(String value) {
            addCriterion("reported_number >", value, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberGreaterThanOrEqualTo(String value) {
            addCriterion("reported_number >=", value, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberLessThan(String value) {
            addCriterion("reported_number <", value, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberLessThanOrEqualTo(String value) {
            addCriterion("reported_number <=", value, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberLike(String value) {
            addCriterion("reported_number like", value, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberNotLike(String value) {
            addCriterion("reported_number not like", value, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberIn(List<String> values) {
            addCriterion("reported_number in", values, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberNotIn(List<String> values) {
            addCriterion("reported_number not in", values, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberBetween(String value1, String value2) {
            addCriterion("reported_number between", value1, value2, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberNotBetween(String value1, String value2) {
            addCriterion("reported_number not between", value1, value2, "reportedNumber");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}